﻿using BW.Model;

namespace BW.IBLL
{
    public interface IBaseBLL
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="t"></param>
        /// <returns></returns>
        Task<int> Add(RoomNumber t);
        /// <summary>
        /// 显示
        /// </summary>
        /// <returns></returns>
        IQueryable<DTO> GetShow(out int totalcount ,out int totalpage,int pageindex=1,int pagesize=2);
        /// <summary>
        /// 显示
        /// </summary>
        /// <returns></returns>
        IQueryable<RoomType> roomTypes();
        /// <summary>
        /// 导入
        /// </summary>
        /// <param name="list"></param>
        /// <returns></returns>
        Task<int> RoomAdd(List<RoomNumber> list);
    }
}
